package cc.lj.internal.merchant.infrastructure.repository;

import cc.lj.internal.merchant.domain.brand.repository.IMerchantBrandRelationRepository;
import cc.lj.internal.merchant.domain.contract.repository.IPropertyRelationRepository;
import cc.lj.internal.merchant.infrastructure.po.MerchantBrandRelationPO;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

/**
 * 商户品牌关系表　仓储实现
 * @author liangxifeng
 * @date 2022-07-05
 */
@Repository("merchantBrandRelationRepository")
public class MerchantBrandRelationRespository implements IMerchantBrandRelationRepository {
    @Resource(name = "merchantBrandRelationMysqlRespository")
    private IMerchantBrandRelationRepository relationRepository;


    @Override
    public List<MerchantBrandRelationPO> getList(MerchantBrandRelationPO relationPO) {
        return relationRepository.getList(relationPO);
    }
}
